package com.amit.spring.ioc;

public class Address {
	
	private int adid;
	private String street;
	private String city;
	
	public Address()
	{
		System.out.println("Address default");
	}

	public Address(int adid, String street, String city) {
		super();
		this.adid = adid;
		this.street = street;
		this.city = city;
	}
	
	@Override
	public String toString() {
		
		return ""+adid+"\t"+street+"\t"+city;
	}
	

}
